/**
 * Copyright &copy; 2016 CNJSON All rights reserved.
 */
package com.hongsuan.pplive.modules.live.entity;

import com.cnjson.db.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author cgli
 * @version 2016-04-18
 */
public class LiveIncomeStrategy extends DataEntity<LiveIncomeStrategy> {

	private static final long serialVersionUID = 1L;
	//private User user;		// 不同主播的ID
	private Float percentage;		// 分成比例储存是0.1=10%
	private Integer type;		// 分类(提现1，赠送2..)
	private String userId;
	private String userName;

	public LiveIncomeStrategy() {
		super();
	}

	public LiveIncomeStrategy(String id){
		super(id);
	}

	/*@NotNull(message="不同主播的ID不能为空")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}*/
 
	public Float getPercentage() {
		return percentage;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setPercentage(Float percentage) {
		this.percentage = percentage;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
 

}